package com.cz.video.website.service;

import com.cz.video.common.core.domain.PageQuery;
import com.cz.video.common.core.page.TableDataInfo;
import com.cz.video.website.domain.WebsiteMediaCategory;
import com.cz.video.website.domain.bo.WebsiteMediaCategoryBo;
import com.cz.video.website.domain.vo.WebsiteMediaCategoryVo;

/**
 * <p>
 * 电影分类表 服务类
 * </p>
 *
 * @author 洪圆胜
 * @since 2023-10-15
 */
public interface IWebsiteMediaCategoryService {
    /**
     * 新增电影分类
     * @param websiteMediaCategory
     * @return
     */
    int addMediaCategory(WebsiteMediaCategoryBo websiteMediaCategory);

    /**
     * 更新电影分类信息
     * @param websiteMediaCategory
     * @return
     */
    int update(WebsiteMediaCategoryBo websiteMediaCategory);

    /**
     * 分页查询电影分类
     * @param websiteMediaCategory
     * @param pageQuery
     * @return
     */
    TableDataInfo<WebsiteMediaCategoryVo> page(WebsiteMediaCategoryBo websiteMediaCategory, PageQuery pageQuery);

    int removeById(Long id);

    WebsiteMediaCategory getById(Long id);
}
